package co.yixiang.modules.tools.service.mapper;

import co.yixiang.common.mapper.CoreMapper;
import co.yixiang.modules.tools.domain.QiniuConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface QiniuConfigMapper extends CoreMapper<QiniuConfig> {

    @Update("update tools_qiniu_config set type = #{type} ")
    void updateType(@Param("type") String type);
}
